<template>
  <div style="background:#f0f2f5;height:100vh;padding-top:30px;">
    <el-row type="flex" justify="center" align="middle">
      <img class="pic-404__parent" :src="img_404" alt="404" style="width:90%;max-width:900px;">
    </el-row>
    <el-row type="flex" justify="center" align="middle">
      <h2 class="">页面不存在!</h2>
    </el-row>
    <el-row type="flex" justify="center" align="middle">
      <el-col :span="12" type="flex" justify="center" align="middle">
        <el-button type="primary" @click="goBack">返回上一页</el-button>
      </el-col>
      <el-col :span="12" type="flex" justify="center" align="middle">
        <a href="/" class="">
          <el-button type="default">返回首页</el-button>
        </a>
      </el-col>
    </el-row>
  </div>
</template>

<script>
  import img_404 from '@/assets/404_images/404.png'
  import img_404_cloud from '@/assets/404_images/404_cloud.png'

  export default {
    data() {
      return {
        img_404,
        img_404_cloud,
      }
    },
    computed: {
      message() {
        return '特朗普说这个页面你不能进......'
      },
    },
    methods: {
      goBack() {
        this.$router.go(-1)
      },
    },
  }
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
</style>
